<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>jquery源码解析视频83-1</title>
    <script src="../jquery-2.0.3.js?v=1"></script>
  </head>

  <body>
    <span>span</span>
    <div>div</div>
    <script>
      $(function () {
        // $('div').append($('span')).css('border',"1px solid red");
        $("span").appendTo($("div")).css('border',"1px solid red");

      });
    </script>
  </body>
</html>
